
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
        <style>
            .a1 {
                width: 300px;
                height: 300px;
                background-color: red;
            }
            .a2 {
                width: 200px;
                height: 200px;
                background-color: blue;
            }
            .a3 {
               
                width: 100px;
                height:100px ;
                background-color: white;
        
            }
        </style>
    </head>
    <body>
        <div>
            <div id="app">
                <div class="a1" @click.capture="click1">
                    <div @click.capture="click2" class="a2">
                        <div @click.capture="click3" class="a3">
                            click3
                        </div>
                    </div>
                </div>
            </div>
        <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
        <script>
            var vm = new Vue({
                el:'#app',
                data:{
                    msg:'hellowolrd',
                    msg2:'你好世界'
                },
                methods: {
                click1() {
                    console.log("click1")
                },
                click2() {
                    console.log("click2")
                },
                click3(){
                    console.log('click3')
                }
            }
            })
     
         
        
    
        </script>
    </body>
    </html>